import request from '@/utils/request'

// 查询意见反馈列表
export function listFeedback(query) {
  return request({
    url: '/userFeedback/selectPage',
    method: 'get',
    params: query
  })
}

// 回复
export function leaveFeedback(data) {
  return request({
    url: '/userFeedback/leaveUserFeedback',
    method: 'post',
    data: data
  })
}

// 删除
export function delFeedback(data) {
  return request({
    url: '/userFeedback/del',
    method: 'get',
    params: data
  })
}